import {register} from '../../api/users.js'

const state = {
    registerData: []
}

const getters = {  //计算属性

}

const mutations = {  // 同步

}

const actions = {   // 异步
    register({ commit }, data) {
        return register(data)
    }
}

export default {
    namespaced: true,
    state,
    getters,
    mutations,
    actions
}

